package com.party.core.service.mall;

import com.party.core.model.mall.MallCategorySpec;
import com.party.core.service.IBaseService;

import java.util.List;

/**
 * @Author: Administrator.
 * @Description: 商城分类规格服务接口
 * @Date:Created in 2017/8/22 0022 下午 15:13.
 */
public interface IMallCategorySpecService extends IBaseService<MallCategorySpec> {
    List<MallCategorySpec> findBySpec(String specId);

    void deleteByUnique(MallCategorySpec mallCategorySpec);

    List<MallCategorySpec> findByCategory(String[] categoryIds);

    List<MallCategorySpec> findByCategoryId(String categoryId);

    void deleteByCategoryId(String categoryId);
}
